import http from "@/http";

export default {
    sendCode(params = {}) {
        return http.get('/api/user/send/code', params)
    },
    register(body = {}) {
        return http.post('/api/user/register', body)
    },
    login(body = {}) {
        return http.post('/api/user/login', body)
    },
}